#include <bits/stdc++.h>
using namespace std;
int k;
int main() {
  cin >> k;
  cout << "2000\n";
  for (int i = 1; i < 1999; i++) cout << "0 ";
  cout << (k + 1e6 - k % 2000) / 2000 - 1e6 + k % 2000 << " "
       << 1000000 - k % 2000;
}
