Shop and store

Problem Name:
Shop and store
Site:HackerEarth
Links:
Tags: