#include <bits/stdc++.h>
using namespace std;
const int MAXN = (int)5000 + 7;
int a[MAXN];
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int ans;
  cin >> ans;
  int n = 1500;
  int S = ans - 1 + 1500;
  S++;
  int ave = S / (n - 1);
  int yu = S - ave * (n - 1);
  cout << 1500 << endl;
  long long tmp = 0;
  long long tmp2 = -1;
  cout << -1;
  for (int i = 1; i <= yu; i++) {
    cout << " " << ave + 1;
    tmp += ave + 1;
    tmp2 += ave + 1;
  }
  for (int i = yu + 1; i <= n - 1; i++) {
    cout << " " << ave;
    tmp += ave;
    tmp2 += ave;
  }
}
