N=int(input()) num=0 yakusu=[] check=True for i in range(2,N): if N%i == 0: num+=1 yakusu.append(i) if N/(i**3)==1: print('Ripposu!') check=False break elif N/(i**2)==1: print('Heihosu!') check=False break n=sum(yakusu)+1 if check: if n==N: print('Kanzensu!') elif N==1 or N==0: print(N) elif num==0: print('Sosu!') else: print(N)