Easy:

Give pills to the four most physically able to survive.
They must in return provide and care for the 5th member who is weakest and can't provide for themselves.