Sum of cards

Problem Name:
Sum of cards
Site:HackerEarth
Links:
Tags:
Problem setters: