#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main()
{
srand(time(0));
cout << "RAND_MAX is" << RAND_MAX << endl;
cout << rand()%6+1 << endl;
cout << rand()%6+1 << endl;
cout << rand()%6+1 << endl;
cout << rand()%6+1 << endl;
cout << rand()%6+1 << endl;
return 0;
}