import math import numpy as np def sosu(n): x = np.arange(2, int(n**0.5)+1) if len(x[n%x==0]) == 0: return True else: return False def heihosu(n): if str(n**0.5)[-1] == "0": return True else: return False def ripposu(n): if str(n**(1/3))[-1] == "0": return True else: return False def kanzensuu(n): U = 10**6 + 100 x = np.arange(1,U,dtype=np.int64) div = x[n%x==0] if n == sum(div[:-1]): return True else: return False n = int(input()) if n == 0 or n == 1: print(n) elif sosu(n): print("Sosu!") elif heihosu(n): print("Heihosu!") elif ripposu(n): print("Ripposu!") elif kanzensuu(n): print("Kanzensu!") else: print(n)