#include <bits/stdc++.h>
unsigned seed = std::chrono::system_clock::now().time_since_epoch().count();
using namespace std;
double gcd(double a, double b) { return a < 0.01 ? b : gcd(fmod(b, a), a); }
long long bpow(long long a, long long b, long long m) {
  a %= m;
  long long res = 1;
  while (b > 0) {
    if (b & 1) res = res * a % m;
    a = a * a % m;
    b >>= 1;
  }
  return res;
}
long long int kv;
long long int t, n, x, y, h, k, z, p, q;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cin >> k;
  for (int i = 1; i <= 2000; i++) {
    x = k + i;
    for (int j = 2; j <= sqrt(x); j++) {
      if (x % j == 0 && j + 1 <= 2000 && x / j + i <= 1000000) {
        n = j + 1;
        y = i;
        z = x / j + i;
        i = (long long int)1000000000;
        break;
      }
    }
  }
  cout << n << endl;
  for (long long i = 0; i < int(n - 2); i++) cout << 0 << " ";
  cout << -y << " " << z << endl;
  return 0;
}
