N = int(input()) if N <= 1: print(N) exit() flag = 1 for i in range(2, N): if N % i == 0: flag = 0 if flag: print("Sosu!") exit() flag = 0 for i in range(2, 10): if N == i * i: flag = 1 if flag: print("Heihosu!") exit() flag = 0 for i in range(2, 10): if N == i ** 3: flag = 1 if flag: print("Ripposu!") exit() print(N) if N != 6 and N != 28 else print("Kanzensu!")