#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  long long k;
  cin >> k;
  if (!k) {
    cout << 1 << "\n" << 1 << "\n";
    return 0;
  }
  long long a = -1, sz, minus;
  for (long long n = 2; n <= 2e3; n++) {
    long long d = n - 1;
    long long need = d - (k % d);
    need %= d;
    long long x = (d + need) * n;
    x = x + k;
    long long mx = x / d;
    if (mx <= 1e6) {
      a = mx, sz = n;
      minus = (d + need);
      break;
    }
  }
  long long b[sz + 1];
  b[sz] = a;
  for (int i = 1; i < sz; i++) {
    int left = (sz - i - 1);
    long long ekhane = min((long long)1e6, minus - left);
    b[i] = ekhane;
    minus -= ekhane;
    b[i] = -b[i];
  }
  cout << sz << "\n";
  for (int i = 1; i <= sz; i++) {
    cout << b[i] << " ";
  }
  cout << "\n";
  return 0;
}
