#include <bits/stdc++.h>
using namespace std;
void solve(long long k) {
  for (long long n = 3; n <= 2000; ++n) {
    for (long long a = 2; a < n; ++a) {
      if ((n + k) % a == 0) {
        long long y = (n + k) / a;
        if (y <= 1000000 && (n - a) * y >= (a - 1) &&
            n * (y - 1) > (n - a) * y) {
          vector<long long> ans(n, 0);
          ans[0] = 1;
          ans[a - 1] = -2;
          ans[a] = y;
          cout << n << '\n';
          for (long long x : ans) cout << x << ' ';
          cout << '\n';
          return;
        }
      }
    }
  }
  cout << k << endl;
  exit(0);
}
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  long long k;
  cin >> k;
  solve(k);
}
