X, Y = map(int,input().split()) print(4) print(X,Y,Y,Y) print(input())