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