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