Tamilyogi 300 Spartans 3 -

Where $$a$$ and $$b$$ are attrition rates.