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