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