import math N = int(input()) def SoE(x): if x < 2: return [] l = [i for i in range(x + 1)] l[1] = 0 for i in l: if i > math.sqrt(x): break if i == 0: continue for j in range(2 * i , x + 1, i): l[j] = 0 return [i for i in l if i != 0] prime_l = SoE(N) if N == 0: print(0) elif N == 1: print(1) elif N == 6 or N == 28: print("Kanzensu!") elif N in prime_l: print("Sosu!") elif (N ** 0.5).is_integer(): print("Heihosu!") elif math.pow(N, 1.0/3.0): print("Ripposu!") else: print(N)