#include <stdio.h>
int main()
{ int n,s=0;
char mon[13][10]={"***","January","February","March","April","May",
"June","July","August","September","October","November","December"};
scanf("%d",&n);
for(;n;n/=10)
s+=n%10;
printf("%s\n",s>12?mon[0]:mon[s]);
return 0;
}