Class Assignment getting wrong answer

code-https://ide.codingblocks.com/s/79759
ques-https://hack.codingblocks.com/contests/c/588/875

Hi Lavish,
while printing your answer instead of printing n, you have to print testcase number. For eg:
if the input is
1
3

then your code will give output:
#3 : 5

whereas right output will be:
#1 : 5