#include <bits/stdc++.h>
using namespace std;
int k, a[1500];
void input() {
  cin >> k;
  int sz = 1;
  a[0] = -1;
  int ss = 1200;
  for (int i = 1; i < 1200; i++) {
    if (k == 0) {
      a[i] = 1;
      ss--;
      continue;
    }
    int rmd = min(k, (int)1e6);
    a[i] = rmd;
    k -= rmd;
  }
  a[1199] += ss;
  ss = 0;
  cout << 1200 << endl;
  for (int i = 0; i < 1200; i++) {
    cout << a[i] << " ";
  }
  cout << endl;
}
int main() {
  input();
  return 0;
}
