import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N = int(read()) def solve(N): if N in [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61]: return 'Sosu!' if N in [4,9,16,25,36,49]: return 'Heihosu!' if N in [8,27]: return 'Ripposu!' if N in [6,28]: return 'Kanzensu!' return N print(solve(N))