def prime(x): a = 0 for n in range(0, 64): if n != 0: if n == int(x) - 1: break elif int(x) % (n + 1) == 0: a = -1 break return a def square(x): b = 0 for n in range(0, 8): if (n + 1) * (n + 1) == int(x): b = -1 break return b def cube(x): c = 0 for n in range(0, 4): if (n + 1) * (n + 1) * (n + 1) == int(x): c = -1 break return c def perfect(x): d = 0 m = 2 for n in range(0, 2): if int(x) == m * (2*m-1): d = -1 break m *= 2 return d x1 = input() a1 = prime(x1) b1 = square(x1) c1 = cube(x1) d1 = perfect(x1) if a1 == 0: print("Sosu!") if b1 == -1: print("Heihosu!") if c1 == -1: print("Rippousu!") if d1 == -1: print("Kanzensu!") if a1 == -1 & b1 == 0 & c1 == 0 & d1 == 0: print(int(x1))