#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k, a, b;
  scanf("%lld", &k);
  b = 6e5 - k % 2000;
  a = (k + b) / 2000 - b;
  printf("2000\n");
  for (int i = 1; i <= 1998; i++) printf("0 ");
  printf("%lld %lld", a, b);
  return 0;
}
