//package pt.v1.tea.testapp;

class MainProgram {

    public static void main(String[] args) {
        try {
            // Refactored from a rvalue if condition
            // at t_tea/16_simplified_recusive_refactor line 1
            TeaUnkownType refactoring_variable_0;
            if ((System.out.println("if1"))) {
                // Refactored from a rvalue if condition
                // at t_tea/16_simplified_recusive_refactor line 1
                TeaUnkownType refactoring_variable_1;
                if ((System.out.println("if2"))) {
                    return refactoring_variable_1 = (System.out.println("then2"));
                }
                return refactoring_variable_0 = (refactoring_variable_1);
            }
            System.out.println((refactoring_variable_0));
        } catch(Exception e) {
            System.out.println(e.getMessage());
        }
    }

}
