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