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