#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:16777216")
using namespace std;
int main() {
  int k;
  cin >> k;
  int n = 2000;
  int s = k + n;
  cout << n << endl << -1 << " ";
  for (int i = 1; i < n; i++) {
    if (s > 0) {
      int x = min(s, 1000000);
      s -= x;
      cout << x << " ";
    } else {
      cout << 0 << " ";
    }
  }
  return 0;
}
