import sys input = sys.stdin.read output = sys.stdout.write X, Y = map(int, input().strip()) output(f"3\n{X} {Y} {X}\n{input().strip()}\n")