!
package com.javarush.task.task08.task0828;
import java.io.*;
import java.io.IOException;
import java.util.List;
import java.util.ArrayList;
/*
Номер месяца
*/
public class Solution {
public static void main(String[] args) throws IOException {
//напишите тут ваш код
ArrayList<String> list = new ArrayList<String>();
list.add("January is the 1 mounth");
list.add("February is the 2 mounth");
list.add("March is the 3 mounth");
list.add("April is the 4 mounth");
list.add("May is the 5 mounth");
list.add("June is the 6 mounth");
list.add("July is the 7 mounth");
list.add("August is the 8 mounth");
list.add("September is the 9 mounth");
list.add("October is the 10 mounth");
list.add("November is the 11 mounth");
list.add("December is the 12 mounth");
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String s = reader.readLine();
if(s.equals("January"))
System.out.println(list.get(0));
else if(s.equals("February"))
System.out.println(list.get(1));
else if(s.equals("March"))
System.out.println(list.get(2));
else if(s.equals("April"))
System.out.println(list.get(3));
else if(s.equals("May"))
System.out.println(list.get(4));
else if(s.equals("June"))
System.out.println(list.get(5));
else if(s.equals("July"))
System.out.println(list.get(6));
else if(s.equals("August"))
System.out.println(list.get(7));
else if(s.equals("September"))
System.out.println(list.get(8));
else if(s.equals("October"))
System.out.println(list.get(9));
else if(s.equals("November"))
System.out.println(list.get(10));
else if(s.equals("December"))
System.out.println(list.get(11));
}
}