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