x, y = map(int, input().split()) v = [x,y,y,y] print(4) print(*v) t = int(input()) print(t)