N=int(input()) L=[i for i in range(N)] for i in range(2,N): if N%i!=0: L[i]=0 S=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61] H=[4,9,16,25,36,49,64] R=[8,27,64] Z=[0,1] K=[6,28] if N in S: print("Sosu!") elif N in H: print("Heihosu!") elif N in R: print("Ripposu!") elif N in K: print("Kanzensu!") else: print(N)