Help me in solving GS13C problem

My issue

I cannot understand the logic before code is also same but the outputs are different when we give 5 output is 5+1=6 know

My code

# Change the 'custom inputs' below and click 'run'
# Once you have run the code - click on 'submit' to find the result with the private test files

t = int(input())
for i in range(t):
    n = int(input())
    print(n+1)

Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone

@soumyagoud071
whats wrong?? your code is working absolutely fine.