#include <bits/stdc++.h>
using namespace std;
int n, k, x, a;
int main() {
  scanf("%d", &k);
  for (n = 2; n <= 2000; n++) {
    for (a = 1; a <= 1000000; a++) {
      if ((k + n * a) / (n - 1) > 1000000) break;
      if ((k + n * a) % (n - 1) == 0) {
        printf("%d\n", n);
        for (int i = 0; i < n - 2; i++) printf("0 ");
        printf("%d %d\n", -a, (k + n * a) / (n - 1));
        return 0;
      }
    }
  }
  printf("-1\n");
  return 0;
}
