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)==0: print('Ripposu!') check=False break elif N%(i**2)==0: print('Heihosu!') check=False break n=sum(yakusu)+1-N if check: if n==N: print('Kanzensu!') elif num>1: print('Sosu!') else: print(N)