#include using namespace std; using ll = long long; const int mod = 1e9 + 7; const int inf = (1 << 30) - 1; const ll infll = (1LL << 61) - 1; #define fast() cin.tie(0), ios::sync_with_stdio(false) template bool is_prime(T N) { if (N < 2) return false; for (T i = 2; i * i <= N; ++i) { if (N % i == 0) return false; } return true; } bool is_seq(int N) { for (int i = 1; i * i <= N; i++) { if (i * i == N) return true; } return false; } bool is_cub(int N) { for (int i = 1; i * i * i <= N; i++) { if (i * i * i == N) return true; } return false; } int N; int main() { cin >> N; if (is_prime(N)) cout << "Sosu!\n"; else if (is_seq(N)) cout << "Heihosu!\n"; else if (is_cub(N)) cout << "Ripposu!\n"; else if (N == 6 || N == 28) cout << "Kanzensu!\n"; else cout << N << endl; }