import java.util.*;
class Conta {
public double saldo;
}
class ContaCorrente extends Conta {
public void deposita(double valor) {
super.saldo += (valor);
}
public boolean saca(double valor) {
if (super.saldo < valor) return false;
super.saldo += (valor - 0.10);
return true;
}
}
public class Main {
public static void main
(String[] args
) { ContaCorrente conta = new ContaCorrente();
conta.deposita(200);
if (!conta.
saca(300)) System.
out.
println("O saldo nao eh suficiente para saque"); }
}
aW1wb3J0IGphdmEudXRpbC4qOwoKY2xhc3MgQ29udGEgewoJcHVibGljIGRvdWJsZSBzYWxkbzsKfQoKY2xhc3MgQ29udGFDb3JyZW50ZSBleHRlbmRzIENvbnRhIHsKICAgIHB1YmxpYyB2b2lkIGRlcG9zaXRhKGRvdWJsZSB2YWxvcikgewogICAgICAgIHN1cGVyLnNhbGRvICs9ICh2YWxvcik7CiAgICB9CiAgICBwdWJsaWMgYm9vbGVhbiBzYWNhKGRvdWJsZSB2YWxvcikgewogICAgICAgIGlmIChzdXBlci5zYWxkbyA8IHZhbG9yKSByZXR1cm4gZmFsc2U7CiAgICAgICAgc3VwZXIuc2FsZG8gKz0gKHZhbG9yIC0gMC4xMCk7CiAgICAgICAgcmV0dXJuIHRydWU7CiAgICB9Cn0KCnB1YmxpYyBjbGFzcyBNYWluIHsKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKICAgICAgICBDb250YUNvcnJlbnRlIGNvbnRhID0gbmV3IENvbnRhQ29ycmVudGUoKTsKICAgICAgICBjb250YS5kZXBvc2l0YSgyMDApOwogICAgICAgIGlmICghY29udGEuc2FjYSgzMDApKSBTeXN0ZW0ub3V0LnByaW50bG4oIk8gc2FsZG8gbmFvIGVoIHN1ZmljaWVudGUgcGFyYSBzYXF1ZSIpOwogICAgfQp9