#include <bits/stdc++.h>
using namespace std;
using ull = uint64_t;
using ll = int64_t;
using ld = long double;
const ll V = 1000000;
const int N = 1900;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  cout.setf(ios::fixed);
  cout.precision(20);
  ll k;
  cin >> k;
  ll a = (k + V) / (N + 1);
  ll b = a * (N + 1) - k;
  assert(b >= V - N - 2 && b < V);
  cout << N + 4 << "\n";
  for (int i = 0; i < N - 1; ++i) {
    cout << 0 << " ";
  }
  assert(b > a + 1);
  cout << -1 << " " << a + 1 << " " << -V << " " << -V << " " << b << "\n";
}
