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