A Summing Punishment!

Problem Name:
A Summing Punishment!
Site:HackerEarth
Links:
Tags:
Problem setters: