#include using namespace std; int main(){ long long n; cin >> n; long long s = 1; bool heiho = false; for (long long i = 2; i * i <= n; ++i){ if (n % i == 0){ s += i; s += n/i; if (i * i == n) { s -= i; heiho = true; } } } if (s == n){ cout << "Kanzensu!" << endl; }else if (s == 1){ cout << "Sosu!" << endl; }else if (heiho){ cout << "Heihosu!" << endl; }else if (n == 8 or n == 27){ cout << "Ripposu!" << endl; }else{ cout << n << endl; } return 0; }