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