#include <bits/stdc++.h>
using namespace std;
int K, N;
int a[2020];
int main() {
  cin >> K;
  if (K <= 1000000 - 2) {
    cout << 2 << "\n";
    cout << -1 << " " << (K + 2) << endl;
    return 0;
  }
  if (K <= 1000000 * 10)
    N = 1000;
  else
    N = 2000;
  int bla = K + N * (N - 2);
  int y = bla / (N - 1) + 1;
  int x = y + y * (N - 1) - bla;
  cout << N << "\n";
  a[1] = x;
  a[2] = -(x + 1);
  for (int i = 3; i < N; ++i) {
    a[i] = -1;
  }
  a[N] = y;
  for (int i = 1; i <= N; ++i) cout << a[i] << " ";
  return 0;
}
