n = int(input()) if n == 3: print(3) else: exit(1)