#include <bits/stdc++.h>
using namespace std;
int a[5005];
int main() {
  int k;
  cin >> k;
  int nl = 1500, ns = k + nl + 1;
  cout << nl + 1 << endl;
  cout << -1 << " ";
  for (int i = 1; i <= nl; i++)
    a[i] = min(1000000, ns), ns -= a[i], cout << a[i] << " ";
  return 0;
}
