Regen health before armor

Hey! I have a question. How can i make it so that health regens before armor. so for example. when health is 50% the armor cant regen and if the health is 100% the armor starts to regen

You need BRANCH node for this.