#include #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main() { int n, sum = 0, count = 0; bool heiho = 0; bool rippo = 0; cin >> n; for (int i = 2; i < n; i++) { if (n % i == 0) { sum += i; count++; } if (i * i == n) heiho = 1; if (i * i * i == n) rippo = 1; } if (n == 0 || n == 1) { cout << "Heihosu!" << endl; return 0; } else if (count == 0) { cout << "Sosu!" << endl; return 0; } else if (sum+1 == n) { cout << "Kanzensu!" << endl; return 0; } else if (rippo) { cout << "Ripposu!" << endl; return 0; } else if (heiho) { cout << "Heihosu!" << endl; return 0; } else cout << n << endl; return 0; }