N = int(input()) if N > 1: for x in range(2, N): if N % x == 0: break else: print("Sosu!") exit(0) for x in range(2, N+1): if x*x == N: print("Heihosu!") exit(0) for x in range(2, N+1): if x**3 == N: print("Ripposu!") exit(0) c = 0 for i in range(1, N): if N % i == 0: c += i if N > 0 and c == N: print("Kanzensu!") exit(0) print(N)