#include <bits/stdc++.h>
using namespace std;
const double PI = acos(-1.0);
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  long long k;
  cin >> k;
  cout << 2000 << "\n";
  long long ar[2000];
  memset(ar, 0, sizeof(ar));
  ar[0] = -1;
  long long left = 2000 + k;
  for (long long i = 1; i < 2000; i++) {
    if (left < 1e6) {
      ar[i] = left;
      break;
    } else {
      ar[i] = 1e6;
      left -= 1e6;
    }
  }
  for (long long i = 0; i < 2000; i++) {
    cout << ar[i] << " ";
  }
}
