#include <bits/stdc++.h>
using namespace std;
const double PI = acos(-1.0);
int dx[] = {1, -1, 0, 0, -1, 1, -1, 1};
int dy[] = {0, 0, 1, -1, -1, -1, 1, 1};
void file() {}
int main() {
  cout << setprecision(20) << fixed;
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int k;
  cin >> k;
  int x = 0;
  for (int i = 2; i <= 2000; i++) {
    long long s = k + i;
    if (ceil(s / (double(i - 1))) <= 1e6) {
      x = i;
      break;
    }
  }
  if (!x) return cout << -1 << "\n", 0;
  cout << x << "\n";
  cout << "-1 ";
  long long s = k + x;
  long long rem = s % (x - 1);
  long long num = s / (x - 1);
  for (int i = 0; i < x - 1; i++)
    if (rem)
      cout << num + 1 << ' ', rem--;
    else
      cout << num << ' ';
  cout << "\n";
}
