import math n = int(input()) isPrime = True isHeihousu = False isRipposu = False divisor = [] for i in range(2, n): if (n % i == 0): isPrime = False divisor.append(i) if (math.sqrt(i) in divisor): isHeihousu = True break if (math.pow(i, 1/3) in divisor): isRipposu = True break if (not int(n / i) == i): divisor.append(int(n / i)) if (isPrime): print("Sosu!") elif(isHeihousu): print("Heihosu!") elif (isRipposu): print("Ripposu!") elif (sum(divisor) - n == n): print("Kanzensu!") else: print(n)