N = int(input()) i = 1 L = [] while i <= N: if N%i == 0: L.append(i) i += 1 if len(L) == 2: ans = "Sosu!" elif sum(L) == 2*N and N > 0: ans = "Kanzensu!" else: ans = N for i in range(2, N): if i**3 == N: ans = "Ripposu!" break if i**2 == N: ans = "Heihosu!" break print(ans)