#include <bits/stdc++.h>
using namespace std;
const unsigned long long base = 131;
const int inf = 0x3f3f3f3f;
const double PI = acos(-1.0);
const long double eps = 1e-20;
const int mod = 1e9 + 7;
const int M = 1e6 + 10;
int k;
int main(int argc, char const *argv[]) {
  scanf("%d", &k);
  int x = 1;
  while ((k + x) % 2000 != 0 || (k + x - 2000 * x) >= 0) x++;
  int y = (k + x - 2000 * x) / 2000;
  printf("2000\n");
  for (int i = 1; i <= 1998; i++) printf("0 ");
  printf("%d %d\n", y, x);
}
