def sosu(x): for i in range(2,x): if x % i == 0: return False return True def heihosu(x): for i in range(2,x+1): if pow(i, 2) == x: return True return False def ripposu(x): for i in range(2,x+1): if pow(i, 3) == x: return True return False def kanzensu(x): s = 0 for i in range(1,x+1): if x % i == 0: s += i if s - x == x: return True return False N = int(input()) if N <= 1: print(N) elif sosu(N): print('Sosu!') elif heihosu(N): print('Heihosu!') elif ripposu(N): print('Ripposu!') elif kanzensu(N): print('Kanzensu!') else: print(N)