#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
long double PI = acosl(-1);
const int inf = 1e8 + 1;
const int nmax = 5e3 + 5;
int seal(int n, int d) { return n / d + (n % d ? 1 : 0); }
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int k;
  cin >> k;
  for (int n = 2; n <= 2000; n++) {
    for (int x = seal(k, n - 1); x <= 1000000; x++) {
      int z = x * (n - 1) - k;
      if (z % n or z / n <= 1) continue;
      int y = z / n;
      cout << n << "\n";
      for (int i = 1; i < n - 1; i++) cout << "0 ";
      cout << -y << " " << x;
      return 0;
    }
  }
  cout << "-1";
  return 0;
}
