N = int(input()) def isPrime(n): if n == 2: return True for i in range(2, n): if n % i == 0: return False return True def isSquare(n): for i in range(n): if i*i == n: return True return False def isCube(n): for i in range(n): if i*i*i == n: return True return False def isFull(n): div_list = [] for i in range(1, n+1): if n % i == 0: div_list.append(i) sum_div = sum(div_list) if sum_div - n == n: return True else: return False if N <= 1: print(N) else: if isPrime(N) == True: print("Sosu!") elif isSquare(N) == True: print("Heihosu!") elif isCube(N) == True: print("Ripposu!") elif isFull(N) == True: print("Kanzensu!") else: print(N)