import sys input = sys.stdin.readline X, Y = map(int, input().split()) print(4, flush=True) print(X, Y, Y, Y, flush=True) T = int(input()) print(T)