import core.bitop;
import std.algorithm;
import std.array;
import std.ascii;
import std.container;
import std.conv;
import std.format;
import std.math;
import std.random;
import std.range;
import std.stdio;
import std.string;
import std.typecons;

void main()
{
  immutable k = readln.chomp.to!long;
  enum N = 50;
  long v = k / N;
  immutable remain = k % N;
  N.writeln;
  stderr.writeln(v, " ", remain);
  foreach (i; 0..N) {
    if (i) {
      write = " ";
    }
    if (i < remain) {
      write = v + N * 2 - remain;
    } else {
      write = v + N - (remain + 1);
    }
  }
  writeln;
}
