#include <bits/stdc++.h>
using namespace std;
using LL = long long;

int main() {
    LL K;
    cin >> K;
    int N = 50;
    vector<long long> As;
    LL cycle = K / N;
    LL residue = K - N * cycle;
    for (int i = 0; i <= N; ++i){
        if (i == N - residue) continue;
        As.push_back(i + cycle );
    }
    cout << N << endl;
    for (int i = 0; i != N; ++i) cout << As[i] << ((i == N - 1)? '\n' : ' ');
    return 0;
}