def make_divisors(n): lower_divisors , upper_divisors = [], [] i = 1 while i*i <= n: if n % i == 0: lower_divisors.append(i) if i != n // i: upper_divisors.append(n//i) i += 1 return lower_divisors + upper_divisors[::-1] def heiho(n): for i in range(2, n+1): if i**2>n: break if i**2==n: return 1 return 0 def rippo(n): for i in range(2, n+1): if i**3>n: break if i**3==n: return 1 return 0 N = int(input()) Y = make_divisors(N) S = sum(Y[:-1]) if N>=2 and len(Y)==2: print("Sosu!") elif N>=2 and heiho(N): print("Heihosu!") elif N>=2 and rippo(N): print("Ripposu!") elif N==S: print("Kanzensu!") else: print(N)