12577

#include <iostream>
#include <string.h>
#include <stdio.h>
#include <math.h>

#define lld long long

using namespace std;


int main()
{
	string s;
	int kase=1;
	while(cin>>s)
	{
		if(s=="*")
		break;

		if(s=="Hajj")
		cout<<"Case "<<kase++<<": Hajj-e-Akbar\n";
		else if(s=="Umrah")
		cout<<"Case "<<kase++<<": Hajj-e-Asghar\n";
	}

	return 0;
}

 

Leave a Reply

Your email address will not be published. Required fields are marked *