#include <bits/stdc++.h>
using namespace std;
long long a[2003];
int main() {
  long long k;
  scanf("%lld", &k);
  a[1] = -1;
  long long n = 2000;
  long long s = 0;
  for (int i = 2; i <= 1999; i++) {
    a[i] = (k + n) / 1999;
    s = s + a[i];
  }
  a[2000] = k + n - s;
  printf("%d\n", n);
  for (int i = 1; i <= 2000; i++) printf("%lld ", a[i]);
  return 0;
}
