#include <bits/stdc++.h>
using namespace std;
const int M = 1e9 + 7;
long long powmod(long long a, long long b, long long mod) {
  long long res = 1;
  a %= mod;
  assert(b >= 0);
  for (; b; b >>= 1) {
    if (b & 1) res = res * a % mod;
    a = a * a % mod;
  }
  return res % mod;
}
const int N = 5e3 + 10;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int k;
  cin >> k;
  cout << "2000\n";
  for (int i = 1; i <= 1998; ++i) cout << "0 ";
  int d = 1999 - k % 1999;
  int x = (k + d) / 1999;
  cout << -d << " " << x + d << endl;
  return 0;
}
