Pika and shapes

Problem Name:
Pika and shapes
Site:HackerEarth
Links:
Tags:
Problem setters: