N = int(input().strip()) def divisor(number): lower_divisors ,upper_divisors = [], [] i = 1 while i**2 <= number: if number % i == 0: lower_divisors.append(i) if i != number // i: upper_divisors.append(number//i) i += 1 return lower_divisors + upper_divisors[::-1] def check(n): flag = True if n % 2 != 0: for i in range(3, n, 2): if n % i == 0: flag = False break else: flag = False if flag == True: return 'Sosu!' if int(n**(1/2))**2 == n: return 'Heihousu!' if int(n**(1/3))**3 == n: return 'Rippousu!' if sum(divisor(n)) == n*2: return 'Kanzensu!' return n print(check(N))