#include <bits/stdc++.h>
using namespace std;
int main() {
  long long s = 0;
  long long k;
  scanf("%lld\n", &k);
  long long arr[2001];
  memset(arr, 0, sizeof arr);
  arr[0] = -1;
  s = k + 2000;
  int ind = 1;
  while (s > 0) {
    arr[ind] = min((long long)1e6, s);
    s -= min((long long)1e6, s);
    ind++;
  }
  printf("2000\n");
  for (int i = 0; i < 2000; i++) {
    printf("%lld%c", arr[i], " \n"[i + 1 == 2000]);
  }
}
