#include <bits/stdc++.h>
using ll = long long;
using namespace std;
int main() {
  ll k;
  cin >> k;
  ll a, b = 1;
  for (; (k + b * 2000) % (2000 - 1); b++)
    ;
  a = (k + b * 2000) / (2000 - 1);
  cout << 2000 << '\n';
  for (int i = 2; i < 2000; i++) cout << 0 << ' ';
  cout << -b << ' ' << a << '\n';
  return 0;
}
