#include <bits/stdc++.h>
using namespace std;
const int maxn = 2005, N = 1e6;
int a[maxn];
int main() {
  int k;
  cin >> k;
  a[1] = -1;
  int res = -1, tp;
  for (int i = 2;; i++) {
    if (k + i - 1 - res > N)
      a[i] = N, res += N;
    else {
      a[i] = k + i - 1 - res;
      tp = i;
      break;
    }
  }
  printf("%d\n", tp);
  for (int i = 1; i < tp; i++) printf("%d ", a[i]);
  printf("%d\n", a[tp]);
}
