#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ;
  long long k, left;
  cin >> k;
  long long base = k + 1;
  vector<long long> v;
  v.push_back(-1);
  left = base;
  for (long long i = 1; i < 2001; i++) {
    left++;
    if (left > 1000000) {
      v.push_back(1000000);
      left -= 1000000;
    } else {
      v.push_back(left);
      break;
    }
  }
  cout << v.size() << endl;
  for (long long i = 0; i < v.size(); i++) cout << v[i] << " ";
}
