#include <bits/stdc++.h>
using namespace std;
long long k;
string s;
int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(0);
  cin >> k;
  vector<long long> Ans(2000);
  Ans[0] = -1;
  long long cur = k + 2000;
  for (int i = 1; i < 2000; i++) {
    if (cur >= 1000000) {
      cur -= 1000000;
      Ans[i] = 1000000;
    } else {
      Ans[i] = cur;
      cur -= cur;
    }
  }
  cout << 2000 << "\n";
  for (int i = 0; i < 2000; i++) {
    cout << Ans[i] << " ";
  }
}
