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