#include <bits/stdc++.h>
using namespace std;
template <class c>
struct rge {
  c b, e;
};
template <class c>
rge<c> range(c i, c j) {
  return rge<c>{i, j};
}
template <class c>
auto dud(c* x) -> decltype(cerr << *x, 0);
template <class c>
char dud(...);
struct debug {
  template <class c>
  debug& operator<<(const c&) {
    return *this;
  }
};
using ll = long long;
void solve(ll k) {
  for (ll c = 1900; c >= 1; --c) {
    ll diff = k / c + 1;
    ll x = diff * c - k;
    ll b = diff + x;
    if (1 <= b && b <= 1000 * 1000 && 1 <= x && x <= 1000 * 1000) {
      debug() << " ["
              << "b"
                 ": "
              << (b)
              << "] "
                 " ["
              << "x"
                 ": "
              << (x)
              << "] "
                 " ["
              << "c"
                 ": "
              << (c) << "] ";
      printf("%lld\n", c + 1);
      printf("%lld", -x);
      for (int i = 0; i < c; ++i) {
        printf(" %lld", b);
      }
      puts("");
      return;
    }
  }
  assert(false);
}
int main() {
  ll k;
  cin >> k;
  solve(k);
}
