#include <bits/stdc++.h>
using namespace std;
int main() {
  const int n = 2000;
  const int a = 1e6;
  int k;
  cin >> k;
  int s = k - 1 + n + 1;
  cout << "2000\n-1 ";
  for (int i = 2; i <= n; ++i) {
    cout << min(s, a) << ' ';
    s = max(0, s - a);
  }
  return 0;
}
