If it's my child or someone I know, save him/her.
If they are all strangers, save the greater number.
If I know both the child and one or more people among the set of 3, prioritize based on genetic or family proximity.
The point is, this can be solved algorithmically and/or game theoretically.
But it would be interesting to run the experiment in a psychology lab and see what kind of results arise.
If it's my child or someone I know, save him/her.
If they are all strangers, save the greater number.
If I know both the child and one or more people among the set of 3, prioritize based on genetic or family proximity.
The point is, this can be solved algorithmically and/or game theoretically.