n = int(input()) if n in [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67]: print("Sosu!") else: k = int(pow(n,1/2)) if k*k==n: print("Heihosu!") else: k = int(pow(n, 1/3)) if k*k*k==n: print("Ripposu!") elif n in [6,28]: print("Kanzensu!") else: print(n)