n=int(input()) s = set() h = set() r = set() k = set() for i in range(2,64): h.add(i**2) r.add(i**3) f = 0 t=[1] for j in range(2,64): if i <= j: break if i == j: continue if i%j == 0: f = 1 t.append(j) if f == 0: s.add(i) if sum(t) == i: k.add(i) 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)