Help me in solving GSCP13B problem

My issue

My code

//Change the 'custom inputs' below and click 'run'
//Click on 'Submit' once you have tried out to proceed to the next problem

#include <stdio.h>

int main() {
    int t;
    int n;
    int i = 1;
    scanf("%d\n", &t );
    while ( i <= t) {
        scanf("%d", &n);
        printf("%d\n", n+1 );
        i = i+1;
    return 0;

Learning course: C for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone

Whats the issue your code looks perfect??