#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k, s, smax;
  scanf("%lld", &k);
  ;
  for (long long n = 2; n <= 2000; n++) {
    smax = (n - 1LL) * (1000000LL) - 1;
    s = n + k - 1LL;
    if (s <= smax) {
      printf("%lld\n-1", n);
      s++;
      for (long long i = 0; i < n - 1; i++) {
        printf(" %lld", min(1000000LL, s));
        s -= min(1000000LL, s);
      }
      printf("\n");
      return 0;
    }
  }
  return 0;
}
