#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long k;
  cin >> k;
  k += 2000;
  vector<long long> ans = {-1};
  while (k) {
    if (k <= 1000000) {
      ans.push_back(k);
      break;
    }
    k -= 1000000;
    ans.push_back(1000000);
  }
  while (((int)(ans).size()) < 2000) ans.push_back(0);
  cout << ((int)(ans).size()) << endl;
  for (auto x : ans) cout << x << " ";
  cout << endl;
}
