#include <bits/stdc++.h>
using namespace std;
long long k, c, a;
inline int read() {
  register int x = 0, f = 1;
  char ch = getchar();
  while (!isdigit(ch)) {
    if (ch == '-') f = -1;
    ch = getchar();
  }
  while (isdigit(ch)) {
    x = (x << 1) + (x << 3) + (ch ^ 48);
    ch = getchar();
  }
  return x * f;
}
int main() {
  k = read();
  a = 1000000 - (k % 2000);
  cout << "2000"
       << "\n";
  for (int i = 1; i <= 1998; i++)
    cout << "0"
         << " ";
  c = a - (a + k) / 2000;
  cout << -c << " " << a;
}
