static void Main(string[] args)
{
string actualMonth = Console.ReadLine();
int numberMonths = int.Parse(Console.ReadLine());
List<string> months = new List<string> { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" };
int actual = (months.IndexOf(actualMonth) + numberMonths) % 12;
Console.WriteLine(months[actual]);
Console.ReadLine();
}