import math n = int(input()) sosu = 0 heihosu = 0 ripposu = 0 kanzensu = 0 if n == 0 or n == 1: sosu = 0 else: for i in range(1, int(math.sqrt(n)) + 1): if n % i == 0: sosu += 2 for i in range(1, 8 + 1): if i ** 2 == n: heihosu = 1 for i in range(1, 4 + 1): if i ** 3 == n: ripposu = 1 if n == 0: kanzensu = 0 else: sum_kanzensu = 0 for i in range(1, int(math.sqrt(n)) + 1): if n % i == 0: sum_kanzensu += i if i != n // i: sum_kanzensu += n // i if sum_kanzensu - n == n: kanzensu = 1 if sosu == 2: print('Sosu!') elif heihosu == 1: print('Heihosu!') elif ripposu == 1: print('Ripposu!') elif kanzensu == 1: print('Kanzensu!') else: print(n)