N = int(input())

prime = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67]
square = [4,9,16,25,36,49,64]
triple = [8,27,64]
perfect = [6,28]

if N in prime:
    print('Sosu!')
elif N in square:
    print('Heihosu!')
elif N in triple:
    print('Ripposu!')
elif N in perfect:
    print('Kanzensu!')
else:
    print(N)