#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using ii = pair<int, int>;
using vii = vector<ii>;
signed main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int k;
  cin >> k;
  cout << "2000\n-1";
  k += 2000;
  for (int i = 0; i < (1999); i++) {
    int cur = min(1000000, k);
    k -= cur;
    cout << ' ' << cur;
  }
  return 0;
}
