N = int(input()) if N == 2: print("01\n22") else: print("No")