#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long int k;
  cin >> k;
  for (long long int l = 1; l < 2001; l++) {
    if ((k + 1.0 + l) / l <= 1e6) {
      cout << l + 1 << "\n";
      cout << -1 << " ";
      long long int s = k + 1 + l;
      for (long long int i = 0; i < l; i++) {
        if (s - 1e6 >= l - 1 - i) {
          cout << 1000000 << " ";
          s -= 1e6;
        } else {
          cout << s - (l - i - 1);
          s -= (l - i - 1);
        }
      }
      break;
    }
  }
}
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int t;
  t = 1;
  while (t--) {
    solve();
  }
}
