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