import sys; input = sys.stdin.buffer.readline sys.setrecursionlimit(10**7) from collections import defaultdict con = 10 ** 9 + 7; INF = float("inf") def getlist(): return list(map(int, input().split())) prime = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61] kanzen = [6, 28] heihou = [4, 9, 16, 25, 36, 49] rippou = [8, 27] #処理内容 def main(): N = int(input()) L = [0] * 64 for i in prime: L[i] = 1 for i in kanzen: L[i] = 2 for i in heihou: L[i] = 3 for i in rippou: L[i] = 4 if L[N] == 0: print(N) elif L[N] == 1: print("Sosu!") elif L[N] == 2: print("Kanzensu!") elif L[N] == 3: print("Heihosu!") else: print("Ripposu!") if __name__ == '__main__': main()