#include <iostream>
using namespace std;
int count=0;
void f(string name){
	if(count==3){
		cout<<name<<endl;
		count++;
		return;
	}
	cout<<name<<endl;
	count++;
	f(name);
}
int main() {
	// your code goes here
	f("Om");
}