#include <bits/stdc++.h>
using namespace std;
int k, sum, t, ans;
int main() {
  scanf("%d", &k);
  sum = k + 2000;
  printf("2000\n");
  t = sum / 1998;
  ans = sum - 1998 * t;
  printf("-1 ");
  for (int i = 1; i <= 1998; i++) printf("%d ", t);
  printf("%d\n", ans);
}
