n=int(input()) ans=0 if n<2: print(n);exit() if int(n**.5)**2==n: print('Heihosu!') exit() elif int(n**.5)**3==n: print('Ripposu!') exit() for i in range(1,n): if n%i==0: ans+=i if ans==n: print('Kanzensuu') exit() for i in range(2,int(n**.5)+1): if n%i==0: break else: print('Sosu!') exit() print(n)