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