// INTERPRETA OPERACIONES DADAS COMO CADENA
import java.lang.String;
class Terminos
{
int A = 10, B = 10;
int Total = 0;
String CAD = "";
public Terminos(String CAD)
{
this.CAD = CAD;
String Operador = CAD.substring(0, 4);
if (Operador.equalsIgnoreCase("suMa"))
{
String OP1 = CAD.substring(7, 8);
String OP2 = CAD.substring(11, 12);
int OP1_N = Integer.parseInt(OP1);
int OP2_N = Integer.parseInt(OP2);
Total = Suma(OP1_N, OP2_N);
}
}
int Suma() { return this.A + this.B; }
int Suma(int A) { return A + this.A; }
int Suma(int A, int B) { return A + B; }
int Resta(int A, int B) { return A - B; }
}
class Control extends Terminos
{
public static void main(String V[]) { new Control(); }
public Control()
{
super("Suma = 3 + 8");
System.out.println("La suma = " + Total);
}
}