x,y = map(int,input().split()) print(4) print(x,y,y,y) u = int(input()) print(u)