#include <bits/stdc++.h>
using namespace std;
const int maxn = 2e3 + 5;
int ans[maxn];
int temp = 1e6;
int main() {
  ans[1] = -1;
  int k;
  while (scanf("%d", &k) != EOF) {
    int n = 2000;
    int sum = n + k;
    for (int i = 2; i <= n; i++)
      if (sum > temp) {
        ans[i] = temp;
        sum -= temp;
      } else {
        ans[i] = sum;
        break;
      }
    printf("%d\n", n);
    for (int i = 1; i <= n; i++) {
      if (i == 1)
        printf("%d", ans[i]);
      else
        printf(" %d", ans[i]);
    }
    printf("\n");
  }
}
