#include <iostream>
using namespace std;

long long K, N, a[55];

int main()
{
    cin>>K;
    if(K <= 50){
        cout<<K<<endl;
        for(int i = 0; i < K - 1; i++) cout<<K<<" "; cout<<K<<endl;
    }
    else{
        N = K / 50 + 51;
        cout<<50<<endl;
        for(int i = 0; i < 50; i++) cout<<N<<" "; cout<<N<<endl;
    }
    return 0;
}
