n = int(input()) P = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61] W = [i**2 for i in range(8)] T = [i**3 for i in range(5)] K = [6, 28] if P.count(n) + W.count(n) + T.count(n) + K.count(n) != 1 : print(n) elif P.count(n) : print("Sosu!") elif W.count(n) : print("Heihosu!") elif T.count(n) : print("Ripposu!") else : print("Kanzensu!")