n = int(input()) # 素数 is_prime = True if n == 0 and n == 1: is_prime = False for i in range(2, int(n**0.5)+1): if n % i == 0: is_prime = False if is_prime: print('Sosu!') exit() # 平方数 for i in range(n): if i*i == n: print('Heihosu!') exit() # 立方数 for i in range(n): if i*i*i == n: print('Ripposu!') exit() # 完全数 divnum = [] for i in range(1, int(n**0.5)+1): if n % i == 0: divnum.append(i) if i != n//i: divnum.append(n//i) if sum(divnum) == 2*n: print('Kanzensu!') exit() print(n)