import math N=int(input()) num=0 yakusu=[] for i in range(2,int(math.sqrt(N))+1): 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 if n==N: print('Kanzensu!') elif num!=0: print('Sosu!') else: print(N)