#include <bits/stdc++.h>
using namespace std;
const long long MN = 5e3;
vector<long long> g[MN];
long long dis[MN];
signed main() {
  ios::sync_with_stdio(false);
  cin.tie();
  cout.tie();
  ;
  long long k;
  cin >> k;
  if (k < 2e6 - 10) {
    k += 3;
    if (k % 2 == 0) {
      cout << 3 << '\n';
      cout << "1 -2 " << k / 2 << '\n';
      return 0;
    } else {
      k += 3;
      cout << 3 << '\n';
      cout << "1 -3 " << k / 2 << '\n';
      return 0;
    }
  }
  long long len = 1100, x = 1e6 - 4000;
  while (len * (x - len + 1) - x > k) x--;
  x++;
  long long a[len];
  for (long long i = 0; i < len; i++) a[i] = -1;
  a[len - 1] = x;
  long long delta = len * (x - len + 1) - x;
  while (delta > k) {
    a[len - 1]++;
    a[len - 2]--;
    delta--;
  }
  cout << len << '\n';
  ;
  {
    for (long long i = 0; i < len; i++) cout << a[i] << ' ';
    cout << '\n';
  };
  long long sm = 0;
  for (long long i = 0; i < len; i++) sm += a[i];
  cerr << sm * len - a[len - 1] << '\n';
}
