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