почему не выполняется условия, наверное что то упустил
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;
import java.util.Scanner;
/*
Номер месяца
*/
public class Solution {
public static void main(String[] args) throws IOException {
//напишите тут ваш код
ArrayList<String> list = new ArrayList<>();
list.add("January");
list.add("February");
list.add("March");
list.add("April");
list.add("May");
list.add("June");
list.add("July");
list.add("August");
list.add("September");
list.add("October");
list.add("November");
list.add("December");
//BufferedReader name = new BufferedReader(new InputStreamReader(System.in));
Scanner scanner = new Scanner(System.in);
String name = scanner.nextLine();
if(name.equals("April")){
System.out.println("May is the 4 month");
}
if(name.equals("January")){
System.out.println("May is the 1 month");
}
if(name.equals("March")){
System.out.println("May is the 3 month");
}
if(name.equals("February")){
System.out.println("May is the 2 month");
}
if(name.equals("May")){
System.out.println("May is the 5 month");
}
if(name.equals("June")){
System.out.println("May is the 6 month");
}
if(name.equals("July")){
System.out.println("May is the 7 month");
}
if(name.equals("August")){
System.out.println("May is the 8 month");
}
if(name.equals("September")){
System.out.println("May is the 9 month");
}
if(name.equals("October")){
System.out.println("May is the 10 month");
}
if(name.equals("November")){
System.out.println("May is the 11 month");
}
if(name.equals("December")){
System.out.println("May is the 12 month");
}
}
}