#include <bits/stdc++.h>
using namespace std;
long long N, K;
long long a[200005];
long long ans[200005];
int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(0);
  cin >> K;
  for (long long i = 3; i <= 2000; i++) {
    if (i & 1) {
      ans[i] = -1;
      continue;
    }
    ans[i] = 1;
    long long need = (K + 1000000) / i;
    need++;
    for (long long j = 0; j <= 200; j++) {
      if (need + 2 > 1000000) {
        need--;
        continue;
      }
      if (need + 2 > need * i - K) {
        need--;
        continue;
      }
      if (need * i - K > 1000000) {
        need--;
        continue;
      }
      ans[i] = need + 2;
      ans[i - 1]--;
      ans[1] = ans[2] = need * i - K;
      ans[2] *= -1;
      cout << i << "\n";
      for (long long j = 1; j <= i; j++) cout << ans[j] << " ";
      return 0;
    }
  }
  cout << "-1\n";
  return 0;
}
