#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  int k, n = 2000;
  cin >> k;
  cout << n << endl << -1;
  int s = k + 2000;
  for (int i = 0; i < n - 1; i++) {
    int val = min(s, int(1e6));
    s = s - val;
    cout << " " << val;
  }
  return 0;
}
