#include <stdio.h>
int main () {
int a;
scanf("%d",&a);
switch(a) {
case 1:
case 3:
case 5:
case 7:
case 8:
case 10:
case 12:
printf("solar month");
break;
case 2:
case 4:
case 6:
case 9:
case 11:
printf("lunar month");
break;
default:
printf("error");
};
return 0;
}