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