#include <stdio.h>
#include <time.h>
#include <stdlib.h>
int main()
{
//    freopen("in.txt", "r", stdin);
//    freopen("out.txt", "w", stdout);
    int t, d;
    while( ~scanf("%d", &t) ) {
        while( t-- ) {
            scanf("%i", &d),
            printf("%i\n", d);
        }
    }

//    srand((unsigned)time(0));
//    printf("100100\n");
//    for( int i = 0; i < 100100; ++i ) {
//        if( rand() % 2 == 0 ) {
//            int len = rand() % 7 + 1;
//            printf("0x");
//            for( int j = 0; j < len; ++j ) {
//                int t = rand() % 16;
//                if( t > 9 ) putchar('a' + t - 10);
//                else printf("%d", t);
//            }
//            printf("\n");
//        }
//        else {
//            int len = rand() % 10 + 1;
//            printf("0");
//            for( int j = 0; j < len; ++j ) {
//                printf("%d", rand() % 8);
//            }
//            printf("\n");
//        }
//    }
    return 0;
}

/**************************************************************
	Problem: 2063
	User: admin
	Language: C++
	Result: Accepted
	Time:48 ms
	Memory:1144 kb
****************************************************************/