#include using namespace std; int main() { int N; cin >> N; bool is_prime = true, is_square = false, is_cubic = false; if (N == 0 || N == 1) is_prime = false; for (int i = 2; i < N; ++i) if (N % i == 0) is_prime = false; for (int i = 2; i * i <= N; ++i) if (i * i == N) is_square = true; for (int i = 2; i * i * i <= N; ++i) if (i * i * i == N) is_cubic = true; if (is_prime) cout << "Sosu!" << endl; else if (is_square) cout << "Heihosu!" << endl; else if (is_cubic) cout << "Ripposu!" << endl; else if (N == 6 || N == 28) cout << "Kanzensu!" << endl; else cout << N << endl; }