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