#include<cstdlib>
#include<iostream>
using namespace std;
int main()
{
// Initialize random number generator
srand(time(0));
// Declare random letter
char randLetter;
// loop four times
for(int i=1;i<4;i++)
{
randLetter = 'A' + rand()%6; // generate random letter between A and F
cout << randLetter << endl;
}
return 0;
}