#include <cstdio>
#include <iostream>
using namespace std;

int main()
{
	freopen("match.in", "r", stdin);
	freopen("match.out", "w", stdout);
	int T; scanf("%d", &T);
	int d;
	while (scanf("%d", &d) != EOF);
	for (int i = 1; i <= T; ++ i)
		puts("114514");
	return 0;
}
