#include <bits/stdc++.h>
using namespace std;
long long K;
bool check(long long a, long long len, long long sum) {
  if (a * 1000000 < len) return false;
  long long used = (a - 1) / 1000000 + 2;
  long long used2 = (sum - 1) / 1000000 + 1;
  if (used + used2 + len <= 2000 && (2000 - used) * (sum + 1) <= a * len)
    return true;
  else
    return false;
}
void print(long long sum) {
  cout << 2000 << '\n';
  long long temp = sum + 1;
  cout << -1 << ' ';
  int left = 1999;
  for (int j = 0; j < left; j++) {
    if (temp >= 1000000) {
      cout << 1000000 << ' ';
      temp -= 1000000;
    } else {
      cout << temp << ' ';
      temp = 0;
    }
  }
  cout << '\n';
  return;
}
int main() {
  cin >> K;
  long long sum = K + 2000 - 1;
  print(sum);
  return 0;
}
