#include<bits/stdc++.h>
#define ll long long
using namespace std;
ll a[100];
int main()
{
    ll n;
    cin>>n;
    memset(a,0,sizeof(a));
    for(ll i=1;i<=50;i++)
    {
        a[i]=(49+n/50);
    }
    ll m=n%50;
    for(ll i=1;i<=50;i++)
    {
        a[i]=a[i]-m;
    }
    for(ll i=1;i<=m;i++)
    {
        a[i]+=50;
    }
    cout<<50<<endl;
    for(ll i=1;i<=49;i++)
    {
        cout<<a[i]<<" ";
    }
    cout<<a[50]<<endl;
}

#include <bits/stdc++.h>
#define err(args...) {}
#ifdef DEBUG
#include "_debug.cpp"
#endif
using namespace std;
using ll = long long;
using ld = long double;
template <typename T> using lim = numeric_limits<T>;
template <typename T> istream& operator>>(istream& is, vector<T>& a) { for(T& x : a) { is >> x; } return is; }
const int N = 50;
int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    ll k;
    cin >> k;
    cout << N << endl;
    for(int i = 0; i < N; i++) {
        if(i < N - 1 - (k - 1) % N) {
            cout << (k - 1) / N + i << " ";
        } else if(i == N - 1) {
            cout << (k - 1) / N + N << " ";
        } else {
            cout << (k - 1) / N + N - 1 << " ";
        }
    }
    cout << endl;
    return 0;
}
