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