#include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int n; cin >> n; assert(n==44); vector s(n); for(auto &nx : s){ cin >> nx; } int k=(n/11); int c=0; for(auto &nx : s[0]){ if(nx=='#'){c++;} } c/=k; if(c==7){cout << "KCPC\n";} else{cout << "KUPC\n";} return 0; }