#include <bits/stdc++.h>
using namespace std;
void shikhar7s(long long int cas) {
  long long int k, i, a;
  cin >> k;
  k += 2000;
  a = (k % 1999);
  k /= 1999;
  cout << 2000 << "\n";
  cout << -1 << " ";
  for (i = 0; i < a; i++) {
    cout << k + 1 << " ";
  }
  for (i = 0; i < 1999 - a; i++) {
    cout << k << " ";
  }
}
signed main() {
  std::ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  ;
  long long int t = 1;
  long long int cas = 1;
  while (cas <= t) {
    shikhar7s(cas);
    cas++;
  }
  return 0;
}
