#include using namespace std; #define int long long #define FOR(i, s, n) for (int i = (s); i < (int)(n); i++) #define RFOR(i, s, n) for (int i = (n) - 1; i >= (int)(s); i--) #define REP(i, n) FOR(i, 0, n) #define RREP(i, n) RFOR(i, 0, n) #define ALL(a) a.begin(), a.end() constexpr long long INF = 1e18; templateinline bool CHMAX(T&a,T b){if(ainline bool CHMIN(T&a,T b){if(a>b){a=b;return true;}return false;} signed main(){ int N; cin >> N; if(N == 0){ cout << 0 << endl; return 0; } int flg = 0; FOR(i,2,N){ if(N % i == 0)flg = 1; } if(N>1&&flg == 0){ cout << "Sosu!" << endl; return 0; } FOR(i,2,64){ if(i*i==N){ cout << "Heihosu!" << endl; return 0; } } FOR(i,2,64){ if(i*i*i==N){ cout << "Ripposu!" << endl; return 0; } } int sum = 0; for(int i = 1;i * i <= N;i++){ if(N%i)continue; sum += i; if(i != N/i)sum += N / i; } if(N + N == sum){ cout << "Kanzensu!" << endl; return 0; } cout << N << endl; }