interface SpellCaster { int castFireball(); }
interface Healer { int castHeal(); }

public class Wizard implements SpellCaster, Healer {
    public int castFireball() { return 40; }
    public int castHeal() { return 25; }

    public static void main(String[] args) {
        Wizard w = new Wizard();
        System.out.println("Fireball damage: " + w.castFireball() + "\nHeal amount: " + w.castHeal());
    }
}
