#include <iostream>
using namespace std;

int main()
{
	const int medal=3;
	const int Country=5;
	int achievement[Country][medal];
	
	
	for(int i=0;i<Country;++i)
	{
		for(int j=0;j<medal;++j)
		{
			cout<<"country "<<i+1<<"medal"<<j+1<<" : ";
			cin>>achievement[i][j];
			cout<<endl<<i<<endl<<j;
		}
	}
	
}
