#include <bits/stdc++.h>
using namespace std;
int l[200001];
int r[200001];
int main() {
  int k;
  cin >> k;
  cout << 2000 << endl;
  cout << -1 << " ";
  int c = k + 2000;
  for (int i = 0; i < 1999; i++) {
    int a = 0;
    if (c > 0) a = min(1000000, c);
    cout << a << " ";
    c -= a;
  }
  return 0;
}
