#include <bits/stdc++.h>
using namespace std;
template <typename Tp>
inline void read(Tp &x) {
  static char c;
  static bool neg;
  x = 0, c = getchar(), neg = false;
  for (; !isdigit(c); c = getchar()) {
    if (c == '-') {
      neg = true;
    }
  }
  for (; isdigit(c); c = getchar()) {
    x = x * 10 + c - '0';
  }
  if (neg) {
    x = -x;
  }
}
const int N = 1925;
int k;
int main() {
  read(k);
  printf("%d\n", N + 1);
  for (int i = 1; i < N; ++i) {
    printf("0 ");
  }
  int d = (N - k % N) % N, x = (k + d) / N + d;
  printf("%d %d", -d, x);
}
