// This program outputs six random integers between
// 1 and 4

#include<iostream>
#include<cstdlib>    // Import the rand() function

using namespace std;


int main()
{
 srand(time(0)); // Initialize rand to be determined by time

 int counter=1;

 while(counter<=6)
 {
   // Compute and report random number between 1 and 4
   cout << rand()%4+1 << endl;
   counter++;
 }

 return 0;
}