#include <bits/stdc++.h>
using namespace std;
bool print = true;
bool solve(long long K) {
  for (long long(N) = 0; (N) < 2000; (N)++) {
    if (N < 3) continue;
    long long D;
    for (D = 1; D < 100; D++) {
      if ((K + N * D) % (N - 1) == 0) break;
    }
    if ((K + N * D) % (N - 1) != 0) continue;
    long long first = (K + N * D) / (N - 1);
    if (first > 1e6 - 100) continue;
    if (!print) return true;
    cout << N << endl;
    for (long long(i) = 0; (i) < N - 2; (i)++) cout << 0 << " ";
    cout << -D << " ";
    cout << first << endl;
    return true;
  }
  return false;
}
int main() {
  cout.sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cerr.tie(0);
  cout << setprecision(16);
  long long K;
  while (cin >> K)
    if (!solve(K)) cout << -1 << endl;
}
