#include using namespace std; using LL = long long; using ULL = unsigned long long; #define rep(i,n) for(int i=0; i<(n); i++) int main() { int N; cin>>N; rep(n,N){ ULL p; cin>>p; if(p==2) cout<<2<