N=int(input()) ans=set() h_num=[4,9,16,25,36,49] r_num=[8,27] if N in h_num: print("Heihosu!") elif N in r_num: print("Ripposu!") elif N==0: print(0) else: for i in range(1,int(N**0.5)+1): if N%i==0: ans.add(i) ans.add(N//i) if len(ans)==2: print("Sosu!") elif sum(list(ans))==(2*N): print("Kanzensu!") else: print(N)