#include <bits/stdc++.h>
using namespace std;
int k, n, s;
const int nn = 2000;
int a[2009];
int main() {
  cin >> k;
  if ((k + 1 + nn - 2) / (nn - 1) + 1 > 1000000)
    cout << -1 << endl;
  else {
    s = k + nn;
    a[0] = -1;
    int i = 1;
    while (s > 1000000) a[i++] = 1000000, s -= 1000000;
    a[i] = s;
    cout << nn << endl;
    for (int i = 0; i < nn; i++) cout << a[i] << " ";
  }
  return 0;
}
