#include <iostream>
#include <cstdlib>
using namespace std;

int main()
{
	for (int i {1}; i < 5; ++i) {
		for (char c {'a'}; c < 'd'; ++c) {
			cout << i << c << "\n";
		}
		cout << "\n";
	}

	return EXIT_SUCCESS;
}