OK. 1. On the 20th day, open the cage and see how many flies are alive (a), and how many died (d). Such for each cell.
2. You will get a series of numbers
a1, d1 (for first cage)
a2, d2 (for second)
a3, d3 (for third)
etc.
3) Then do a pair comparison with contingency tables 2x2 ("Fit Y by X" platform)
Compare:
a1, d1
a2, d2
then сompare:
a1, d1
a3, d3
then сompare
a2, d2
a3, d3
etc.
4) As a result, you can select the cage pairs that are statistically significantly different (exact Fisher test). I don't think there will be many of them.
P.S. If the cage are independent, then the effect of multiple comparisons will not be.