#include <bits/stdc++.h>
using namespace std;
int n, v, k, o, u;
int main() {
  scanf("%d", &k);
  n = 2000;
  v = 1;
  while ((k + v) % (n - 1) != 0) {
    ++v;
  }
  o = (k + v) / (n - 1) + v;
  u = -v;
  printf("%d\n", n);
  for (int i = 1; i <= n - 2; ++i) {
    printf("0 ");
  }
  cout << u << " " << o;
  return 0;
}
