#include <bits/stdc++.h>
using namespace std;
int k;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  cin >> k;
  cout << 2000 << endl << -1 << " ";
  for (int i = 1; i < 1999; ++i) cout << (k + 2000) / 1998 << " ";
  cout << (k + 2000) % 1998;
  return 0;
}
