#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int k;
  cin >> k;
  int a, b;
  b = 2000 - (k % 2000);
  while (1999 * b <= k) b += 2000;
  a = (k + b) / 2000 - b;
  cout << "2000\n";
  for (int i = 0; i < 1998; ++i) {
    cout << "0 ";
  }
  cout << a << ' ' << b << '\n';
}
