#include <bits/stdc++.h>
using namespace std;
int k;
vector<int> v;
int main() {
  cin >> k;
  cout << "2000\n-1 ";
  k += 2000;
  for (int i = 1; i < 2000; i++) {
    int now = min(1000000, k);
    cout << now << " ";
    k -= now;
  }
  return 0;
}
