beginner problem :THE DEADLY SINS
my solution:- https://www.codechef.com/viewsolution/21987190
For each testcase, output in a single line. Each answer on newline.