local k = io.read("*n")
local div = k // 50
local rem = k % 50
local ary = {}
ary[1] = 0
for i = 2, 50 do ary[i] = 49 end
for i = 1, rem do
  for j = 1, 50 do
    ary[j] = ary[j] + (j == i and 50 or -1)
  end
end
for i = 1, 50 do ary[i] = ary[i] + div end
print(50)
for i = 1, 50 do
  io.write(ary[i])
  io.write(i == 50 and "\n" or " ")
end
