N = int(input()) def is_sosu(): for i in range(2, N): if N % i == 0: return False else: return True def is_heihou(): x = N ** (1/2) return x == int(x) def is_rippou(): x = N ** (1/3) return x == int(x) def is_kanzensu(): x = [a for a in range(1, N) if N % a == 0] return sum(x) == N if is_sosu(): print('Sosu!') elif is_heihou(): print('Heihosu!') elif is_rippou(): print('Ripposu!') elif is_kanzensu(): print('Kanzensu!') else: print(N)