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