#include <bits/stdc++.h>
using namespace std;
const int N = 0, INF = 1e6, MOD = 0;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int k;
  cin >> k;
  int n = 2000;
  cout << 2000 << endl;
  cout << -1 << " ";
  int Z = n + k;
  for (int i = 2; i <= 2000; i++) {
    int tmp = min(Z, INF);
    cout << tmp << " ";
    Z -= tmp;
  }
  return 0;
}
