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