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;
  immutable 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;
    } else {
      write = v;
    }
  }
  writeln;
}
