#include <bits/stdc++.h>   using namespace std;   long long test(long long k) {     long long a[] = {-1, 1, k + 2};     int c = -1;     long long cur = 0, res = 0;     for (int i = 0; i < 3; i++) {       cur += a[i];       if (cur < 0) {         cur = 0;         c = i;       }       res = max(res, (i - c) * cur);     }     return res;   }   int main() {     ios_base::sync_with_stdio(0);     cin.tie(0);     long long k;     cin >> k;     int a = k + 2000;     cout << 2000 << endl << -1 <<    ;     for (int i = 1; i < 2000; i++) {       cout << min(a, (int)1e6) <<    ;       a -= min(a, (int)1e6);     }     return 0;   }   