#include <stdio.h>
#include <stdlib.h>

typedef struct {
	int size; //size of array
	int *array;
} mystruct;

mystruct * create_mystruct(int size) {
	mystruct * st = (mystruct*) malloc(sizeof(mystruct));
	st->size = size;
	st->array = (int *) malloc(sizeof(int) * size);
	return st;
}

int main(void) {
	int size, i, x;
	scanf("%d", &size);
	mystruct * st = create_mystruct(size);
	for(i = 0; i < size; i++) {
		scanf("%d", &x);
		st->array[i] = x;
	}
	for(i = 0; i < size; i++) {
		printf("%d\n", st->array[i]);
	}
	free(st->array);
	free(st);
	return 0;
}
