#include "bits/stdc++.h" using namespace std; void solve() { long n; cin >> n; bool u = 0; if (n == 6 || n == 28) { cout << "Kanzensu!" << endl; u = 1; } if ((int)sqrt(n) * (int)sqrt(n) == n) { cout << "Heihosu!" << endl; u = 1; } for (int i = 0; i <= 4; i++) { if (pow(i, 3) == n) { cout << "Ripposu!" << endl; u = 1; } } bool f = n > 1; for (int i = 2; i < n; i++) { if (n % i == 0) f = 0; } if (f) { cout << "Sosu!" << endl; u = 1; } if (!u) { cout << n << endl; } } int main() { solve(); return 0; }