#include <bits/stdc++.h>
using namespace std;
const int N = 2e4 + 5;
int k, v;
int main() {
  scanf("%d", &k);
  int n = 2000;
  while (1) {
    bool f1 = 0, f2 = 0;
    if ((k + v) % n == 0) f1 = 1;
    if (f1 && (k + v) / n - v < 0) f2 = 1;
    if (f1 && f2) break;
    v++;
  }
  cout << 2000 << endl;
  for (int i = 0; i < n - 2; i++) cout << 0 << " ";
  cout << (k + v) / n - v << " " << v << endl;
}
