#include <bits/stdc++.h>
using namespace std;
long long k;
vector<long long> ans;
int main() {
  cin >> k;
  long long n = 2000;
  long long s = k + 2000;
  cout << n << "\n";
  ans.push_back(-1);
  for (int i = 1; i <= s / 1000000; i++) {
    ans.push_back(1000000);
  }
  if (s % 1000000) {
    ans.push_back(s % 1000000);
  }
  while (ans.size() < 2000) {
    ans.push_back(0);
  }
  for (long long x : ans) {
    cout << x << ' ';
  }
  return 0;
}
