public class DamageHandler {
    public static void main(String[] args) {
        double armorLoss = 90;
        double helmetLoss = 90;
        double bodyDamageMultiplier = 5.0;


        player.setArmorDurability(player.getArmorDurability() - armorLoss);
        player.setHelmetDurability(player.getHelmetDurability() - helmetLoss);

        double bodyDamage = 100 * bodyDamageMultiplier;
        player.setBodyHealth(player.getBodyHealth() - bodyDamage);

        System.out.println("Armor Durability: " + player.getArmorDurability());
        System.out.println("Helmet Durability: " + player.getHelmetDurability());
        System.out.println("Body Health: " + player.getBodyHealth());
    }
}

class Player {
    private double armorDurability;
    private double helmetDurability;
    private double bodyHealth;

    public Player(double armorDurability, double helmetDurability, double bodyHealth) {
        this.armorDurability = armorDurability;
        this.helmetDurability = helmetDurability;
        this.bodyHealth = bodyHealth;
    }

    public double getArmorDurability() {
        return armorDurability;
    }

    public void setArmorDurability(double armorDurability) {
        this.armorDurability = armorDurability;
    }

    public double getHelmetDurability() {
        return helmetDurability;
    }

    public void setHelmetDurability(double helmetDurability) {
        this.helmetDurability = helmetDurability;
    }

    public double getBodyHealth() {
        return bodyHealth;
    }

    public void setBodyHealth(double bodyHealth) {
        this.bodyHealth = bodyHealth;
    }
}
//#BY LD tg@LDaiqw