a={0:0,1:1,6:'Kanzensu!',28:'Kanzensu!'} def is_prime(n): for j in range(2,int(n**0.5)+1): if n%j==0: return False return True for i in range(2,64): if i<8: a[i*i]='Heihosu!' if i<4: a[i**3]='Ripposu!' if is_prime(i): a[i]='Sosu!' if i not in a: a[i]=i print(a[int(input())])