#include <bits/stdc++.h>
using namespace std;
void solve();
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0);
  int t = 1;
  while (t--) solve();
  return 0;
}
long long k;
void solve() {
  cin >> k;
  cout << 2000 << '\n';
  long long need = k + 2000;
  cout << -1 << ' ';
  for (long long i = 2; i <= 2000; ++i) {
    cout << min(need, (long long)1e6) << ' ';
    need -= min(need, (long long)1e6);
  }
}
