#include using namespace std; bool isp(int n) { if (n < 2) return false; else if (n == 2) return true; else if (n % 2 == 0) return false; double d = sqrt(n); for (int i = 3; i <= d; i += 2) if (n % i == 0) return false; return true; } int main() { int N; cin >> N; if (isp(N)) cout << "Sosu!"; else if (sqrt(N) == (int)sqrt(N)) cout << "Heihosu!"; else if (cbrt(N) == (int)cbrt(N)) cout << "Ripposu!"; else cout << ((N == 6 || N == 28) ? "Kanzensu!" : to_string(N)); cout << "\n"; }