Куда в коде пристроить toUpperCase, чтобы введенная строка перевелась в СТРОЧНЫЙ?

Пишу строчный калькулятор. Прошу подсказать, куда и как пристроить toUpperCase, чтобы введенная строка перевелась в СТРОЧНЫЙ. Вот код:

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class Start {
    public static void main(String[] args) throws IOException {
        System.out.println("Input equation in arabic or roman numbers");
        System.out.println("Input only arabic OR only roman numbers from 1 to 10 / I to X");
        System.out.println("Numbers and char must be divided by spaces");

        List<String> list = new ArrayList<String>();
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String input = reader.readLine();
        try {
            Collections.addAll(list, input.split(" ", 50));
            Logic.logic(list.get(0), list.get(1), list.get(2));
        } catch (Exception e) {
            System.out.println("Input error");
        }
        System.exit(0);
    }
}

Ответы (0 шт):