#include <bits/stdc++.h>
using namespace std;
template <class T>
struct rge {
  T b, e;
};
template <class T>
rge<T> range(T i, T j) {
  return rge<T>{i, j};
}
struct debug {
  template <class T>
  debug& operator<<(const T&) {
    return *this;
  }
};
using ll = long long;
template <typename T>
void min_self(T& a, T b) {
  a = min(a, b);
}
template <typename T>
void max_self(T& a, T b) {
  a = max(a, b);
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int k;
  cin >> k;
  const int B = 1000 * 1000;
  int n = -1, L = -1, s = -1;
  if (k % 2 == 1) {
    L = 1;
    n = 1999;
    s = k + n;
  } else {
    L = 2;
    n = 2000;
    s = k / 2 + n;
  }
  cout << n << "\n";
  for (int i = 0; i < L; ++i) {
    cout << "-1 ";
  }
  for (int i = L; i < n; i++) {
    int take = min(B, s);
    cout << take << " ";
    s -= take;
  }
  cout << "\n";
}
