According to the principle of utility, we have to maximum the benefit of the greatest number of people. However, imagine a situation like that, a traditional city has a very special ritual that they need to leave a boy in a place with enough water and food for sometimes. No one is allowed to go in the place therefore the boy is completely isolated in the room. But , that will bring prosperity and wealth to the city. Now a boy is kept in the room.
After a year the boy is dead, the mayor has found a qualified boy who is you to stay in the room. They then kidnap you to the room but luckily you now have a chance to escape. Will you do so?
If the boy before is not dead, will you save him?