let n = 50

let () =
  let k = read_int () in
  let d = k / n in
  let m = k mod n in
  Printf.printf "%d\n" n;
  for i = 0 to n - 1 do
    Printf.printf
      (if i = 0 then "%d" else " %d")
      (d + if i < m then n else n - 1 - m)
  done;
  print_newline ()