Scanner in = new Scanner(System.in);

        int m = Integer.parseInt(in.nextLine());

        ArrayList<Interval> input = new ArrayList<>();

        

        for(int i = 0; i < m; i++){

            String[] errorsClassifiedByEditors = in.nextLine().split(";");

            for(int j = 0; j < errorsClassifiedByEditors.length; j++){

                String[] errors = errorsClassifiedByEditors[j].split(",");

                input.add(new Interval(Integer.parseInt(errors[0]), Integer.parseInt(errors[1])));

            }

        }

        in.close();