#include <bits/stdc++.h>
using namespace std;
int n = 2000, k, d, r, a[2011];
int main() {
  scanf("%d", &k);
  k += 2000;
  a[1] = -1;
  d = k / 1999;
  r = k % 1999;
  for (int i = 2; i <= n; i++) {
    if (i > n - r)
      a[i] = d + 1;
    else
      a[i] = d;
  }
  printf("%d\n", n);
  for (int i = 1; i <= n; i++) printf("%d ", a[i]);
  return 0;
}
