#include <iostream>
#include <random>
#include <functional>
using namespace std;

int nmax = 5;
long long amin = -10;
long long amax = 10;

int main()
{
	auto rand_ad = bind(uniform_int_distribution<long long>(amin, amax), default_random_engine(random_device{}()));

        cout << nmax << ' ' << rand_ad() << '\n';
        for(int i = 0; i < nmax; i++) {
        	cout << rand_ad() << (i == nmax-1 ? '\n' : ' ');
        }
	
	return 0;
}