#include <bits/stdc++.h>
using namespace std;
const int N = 1e6;
int main() {
  ios::sync_with_stdio(false);
  long long c;
  cin >> c;
  long long k = (N + c) / 2000;
  long long x = k * 2000 - c;
  long long y = c - 1999 * x;
  y /= 2000;
  cout << 2000 << endl;
  for (int i = 1; i <= 1998; i++) cout << 0 << ' ';
  cout << y << ' ' << x << endl;
}
