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