from math import isqrt N = int(input()) if N < 2: print(N) elif N == 6: print('Kanzensu!') elif N in [8, 27, 64]: print('Ripposu!') elif isqrt(N) * isqrt(N) == N: print('Heihosu!') elif N in [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61]: print('Sosu!') else: print(N)