Idk what they mean by saying that prime number can be broken down into 1 pile of n each.
I have used some odd logic based on the understanding of solving the previous 2 versions of this question and tried to solve but getting WA as expected.
ques: https://hack.codingblocks.com/contests/c/547/1158
code: https://ide.codingblocks.com/s/55877