#include <bits/stdc++.h>
using namespace std;
const int maxx = 1e4 + 7, inf = 1e6;
int a[maxx];
int main() {
  long long n = 2000, k;
  cin >> k;
  long long s = n + k;
  a[1] = -1;
  for (int i = 2; i <= n; i++) {
    if (s > inf)
      a[i] = inf, s -= inf;
    else
      a[i] = s, s = 0;
  }
  cout << 2000 << endl;
  for (int i = 1; i <= 2000; i++) cout << a[i] << " ";
  cout << endl;
}
