#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5;
;
const int inf = 1e9 + 5;
int mod;
const int logN = 17;
int main() {
  int k;
  scanf("%d", &k);
  cout << 2000 << endl;
  cout << -1 << ' ';
  int sum = k + 1999 + 1;
  for (int i = 2; i <= 2000; i++) {
    if (sum >= 1000000) {
      cout << 1000000 << ' ';
      sum -= 1000000;
    } else {
      cout << sum << ' ';
      sum = 0;
    }
  }
  cout << endl;
  assert(sum == 0);
}
