n=int(input()) def m_div(n): divisors = [] for i in range(1, int(n**0.5)+1): if n % i == 0: divisors.append(i) if i != n // i: divisors.append(n//i) return sum(divisors) def is_p(n): if n == 1: return False for k in range(2, int(math.sqrt(n)) + 1): if n % k == 0: return False return True if n==0: print(0) elif n==8 or n==27: print("Ripposu!") elif n==4 or n==9 or n==16 or n==25 or n==36 or n==49: print("Heihosu!") elif m_div(n)==2*n: print("Kanzensu!") elif is_p(n): print("Sosu!") else: print(n)