#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k;
  cin >> k;
  for (int l = 1; l < 2e3; l++) {
    long long minb = (k / (l)) + 1;
    minb += (l + 1 - (k + minb) % (l + 1)) % (l + 1);
    if (minb <= 1e6) {
      cout << l + 1 << endl;
      for (int i = 0; i < l - 1; i++) cout << 0 << ' ';
      cout << -(minb - (minb + k) / (l + 1)) << ' ';
      cout << minb;
      cin >> k;
      return 0;
    }
  }
  return 9;
}
