Would you possibly choose then to help only the adult instead of the children? Or do you have a preferred choice, as difficult as it is?
My secondary justification is passive neglect rather than active killing. However, my primary justification is based not on insufficient medication to help all (although this is an interesting justification) but sufficient medication to help more people, that is, ten instead of one. Further, the fact these are children plays a role in my decision, particularly if the adult is old (like me) and also ill. This is my own view, not necessarily in keeping with Catholic teaching or Jewish teaching, though probably more so with the latter.
Then again, one can make the dilemma even more complicated by having a few children who are very ill to begin with. In that case, maybe one would save the healthy adult and the healthier children rather than those who are ill, although I would NOT wish to be the doctor in such a situation.