#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int k;
  cin >> k;
  k = 2000 + k;
  long long int i = 1;
  cout << 2000 << endl;
  cout << -1 << " ";
  while (k != 0) {
    if (k < 1000001) {
      cout << k << " ";
      k = 0;
    } else {
      cout << 1000000 << " ";
      k -= 1000000;
    }
    i++;
  }
  for (long long int j = i; j < 2000; j++) {
    cout << "0 ";
  }
  return 0;
}
