#include <iostream>
#include <cstdio>
#include <algorithm>

using namespace std;

int main() {
	freopen("traverse.in", "r", stdin);
	freopen("traverse.out", "w", stdout);

	int T, n;
	scanf("%d", &T);

	while (T--) {
		scanf("%d", &n);
		printf("1\n");
	}
}
