#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int w = 1, s = 0;
  char ch = getchar();
  while (!isdigit(ch)) {
    if (ch == '-') w = -1;
    ch = getchar();
  }
  while (isdigit(ch)) {
    s = s * 10 + ch - '0';
    ch = getchar();
  }
  return w * s;
}
vector<int> vec;
int k;
int base = 999999, ret = 2e6;
int main() {
  k = read();
  int x = 0;
  x += 2;
  while ((x * base - ret < k) || (((x * base - ret) & 1) != (k & 1))) {
    x++;
  }
  for (register int i = 1; i <= x - 2; ++i) vec.push_back(0);
  vec.push_back(-1);
  vec.push_back(1e6);
  int res = (x * base - 2e6 - k) / 2;
  for (register int i = 1; i <= 10; ++i) vec.push_back(-1e6);
  vec.push_back(1e6);
  vec.push_back(res);
  cout << vec.size() << "\n";
  for (register int i = 0; i < vec.size(); ++i) {
    cout << vec[i] << " ";
  }
  return 0;
}
