#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, k, s, i, val;
  cin >> k;
  n = 2000;
  s = k + n;
  cout << n << "\n";
  cout << "-1 ";
  for (i = 1; i < n; i++) {
    val = min(1000000, s);
    cout << val << " ";
    s = s - val;
  }
  return 0;
}
