#include <bits/stdc++.h>
using namespace std;
const int N = 2000, M = 1000000;
int k;
template <class T>
inline void read(T &x) {
  x = 0;
  char ch = getchar(), w = 0;
  while (!isdigit(ch)) w = (ch == '-'), ch = getchar();
  while (isdigit(ch)) x = (x << 1) + (x << 3) + (ch ^ 48), ch = getchar();
  x = w ? -x : x;
  return;
}
int main() {
  read(k);
  int ans = (k + M) / N;
  printf("2000\n");
  for (register int i = 1; i <= 1998; ++i) printf("0 ");
  printf("%d %d", ans - ans * N + k, ans * N - k);
  return 0;
}
