n = int(input()) # random print(2, n-2)