public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
List<String> students = new ArrayList<>(List.of("Joana", "Lucas", "Pedro", "Antônio"));
System.out.println(students);
System.out.println("Enter the student you want to remove from list : ");
String studentToRemove = scanner.nextLine();
students.removeIf(student -> student.equals(studentToRemove));
System.out.println(students);
}