#include <bits/stdc++.h>
using namespace std;
using LL = long long;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int k;
  cin >> k;
  for (int n = 2; n <= 2000; ++n) {
    if (n * 1000000 <= k) continue;
    for (int i = 1; i <= 1000000; ++i) {
      if ((k + i) % n == 0) {
        int B = i - (k + i) / n;
        if (0 < B && B <= 1000000) {
          cout << n << endl;
          for (int l = 0; l < n - 2; ++l) {
            cout << 0 << " ";
          }
          cout << -B << " ";
          cout << i << endl;
          return 0;
        }
      }
    }
  }
  return 0;
}
