#include <bits/stdc++.h>
using namespace std;
template <typename T, typename U>
ostream& operator<<(ostream& os, const pair<T, U>& p) {
  os << "(" << p.first << "," << p.second << ")";
  return os;
}
template <typename T>
ostream& operator<<(ostream& os, const vector<T>& v) {
  os << "[";
  for (__typeof((v).begin()) i = (v).begin(); i != (v).end(); ++i) {
    if (i != v.begin()) os << ", ";
    os << *i;
  }
  os << "]";
  return os;
}
template <typename T, typename U>
ostream& operator<<(ostream& os, const map<T, U>& m) {
  os << "{";
  for (__typeof((m).begin()) i = (m).begin(); i != (m).end(); ++i) {
    if (i != m.begin()) os << ", ";
    os << *i;
  }
  os << "}";
  return os;
}
int main() {
  int k;
  cin >> k;
  int n = 2000;
  int d = k / (n - 1);
  while ((n - 1) * d - k < 1) ++d;
  int p = (n - 1) * d - k;
  cout << n << endl;
  for (int i = 0; i < (int)(n - 2); ++i) cout << "0 ";
  cout << -p << " " << p + d << endl;
}
