#include using namespace std; using lint = long long; template using V = vector; template using VV = V< V >; template bool is_prime(Z n) { if (n < 2 or n > 2 and ~n & 1) return false; for (Z i = 3; i * i <= n; i += 2) if (n % i == 0) return false; return true; } int main() { cin.tie(nullptr); ios::sync_with_stdio(false); V res(64); for (int i = 0; i < 64; ++i) { if (is_prime(i)) { res[i] = "Sosu!"; continue; } int t = sqrt(i) + 0.5; if (i >= 2 and t * t == i) { res[i] = "Heihosu!"; continue; } t = cbrt(i) + 0.5; if (i >= 2 and t * t * t == i) { res[i] = "Ripposu!"; continue; } if (i == 6 or i ==28) { res[i] = "Kanzensu!"; continue; } res[i] = to_string(i); } int n; cin >> n; cout << res[n] << '\n'; }