N = int(input()) ansF = True for i in range(2, N): if N % i == 0: ansF = False break if ansF: print('Sosu!') exit() if (N ** 0.5).is_integer(): print('Heihosu!') exit() for i in range(int(N ** 0.5) + 1): if i ** 3 == N: print('Ripposu!') exit() yakusu = [] for i in range(1, int(N ** 0.5) + 1): if N % i == 0: yakusu.append(i) if i != N // i and N != N //i: yakusu.append(N // i) if N == sum(yakusu): print('Kanzensu!') else: print(N)