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