#include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) typedef vector VI; typedef vector VVI; typedef vector VL; typedef vector VVL; typedef long long LL; #define all(a) (a).begin(), (a).end() #define Yes(n) cout << ((n) ? "Yes" : "No" ) << endl #define ALL(a) (a).begin(),(a).end() #include using mint = atcoder::modint998244353; int main() { string s="NUPC"; set S; rep(ii,16){ string t; int i=ii; rep(j,4){ t+=s[j]; if(i%2==1){t=t+t;} i/=2; } S.insert(t); //cout<>cou; for(auto it : S){ cou--; if(cou==0){cout<