#include <bits/stdc++.h>
using namespace std;
inline int rd() {
  int x = 0, y = 1;
  char c = getchar();
  while (!isdigit(c)) {
    if (c == '-') y = -y;
    c = getchar();
  }
  while (isdigit(c)) x = x * 10 + c - '0', c = getchar();
  return x * y;
}
int k;
inline void init() { k = rd(); }
void solve(long long k) {
  for (long long i = 1900; i >= 1; i--) {
    long long tmp = k / i + 1;
    long long sum = tmp * i - k;
    long long x = tmp + sum;
    if (1 <= x && x <= 1000000 && 1 <= sum && sum <= 1000000) {
      printf("%lld\n", i + 1);
      printf("%lld", -sum);
      for (int j = 0; j < i; j++) printf(" %lld", x);
      puts("");
      return;
    }
  }
}
inline void work() { solve(k); }
int main() {
  init();
  work();
  return 0;
}
