sosu = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61] heihou = [4, 9, 16, 25, 36, 49, 64] rippou = [8, 27, 64] kannzen = [6,28] N = int(input()) if N == 64: print("Heihosu!","Ripposu!") else: if N in sosu: print("Sosu!") elif N in heihou: print("Heihosu!") elif N in rippou: print("Ripposu!") elif N in kannzen: print("Kanzensu!") else: print(N)