#include <iostream>
using namespace std;
void luni(int n)
{
if (n==1)
cout << "ianuarie" << " ";
if (n==2)
cout << "februarie" << " ";
// continua tu
if (n==9)
cout << "septembrie" << " ";
}
int main ()
{
int a, b;
cin >> a >> b;
luni(a);
luni(b);
}