#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long k;
  cin >> k;
  cout << 2000 << '\n';
  for (long long i = 1; i <= 1998; i++) cout << "0 ";
  long long d = 1999 - k % 1999;
  long long x = (k + d) / 1999;
  cout << -d << " " << x + d << '\n';
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  long long numberoftestcases = 1;
  while (numberoftestcases--) solve();
  return 0;
}
