#include using namespace std; using ll = long long; using Graph = vector>; vector> X(1000, vector(1000)); long long primeNumber(long long x) { bool fire = true; if(x == 0) { return false; } if(x == 1) { return false; } for(int i = 2; i <= sqrt(x); i++) { if(x % i == 0) { fire = false; } } return fire; } int main() { int N; cin >> N; if(primeNumber(N)) { cout << "Sosu!" << endl; return 0; } bool heihou = false; bool rippou = false; for(int i= 2; i <= 8; i++) { if(N == i * i) { heihou = true; } if(N == i * i * i) { rippou = true; } } if(heihou) { cout << "Heihosu!" << endl; return 0; } if(rippou) { cout << "Ripposu!" << endl; return 0; } if(N == 6 || N == 28) { cout << "Kanzensu!" << endl; return 0; } cout << N << endl; }