#include #include #include using namespace atcoder; using mint = modint998244353; using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000001 #define Inf64 1000000000000000001 int get(long long n,long long c){ for(long long i=2;i>_t; rep(_,_t){ long long n;cin>>n; if(n==2 || n%12==6)cout<<"P"<