from collections import Counter nn = int(input()) n = nn if n < 2: print(n) yakusu = [] for i in range(2,nn): while n % i == 0: yakusu.append(i) n //= i yakusu.append(n) yaku = Counter(yakusu) ma = 0 for i in yaku: ma = max(ma,yaku[i]) if n == nn: print("Sosu!") else: if ma == 3: print("Ripposu!") elif ma == 2: print("Heihosu!") else: if n == 6 or n == 28: print("Kanzensu!") else: print(nn) #print(yaku)