Non-Killing and the Trolley Problem

The trolley problem is straight forward. A trolley is going down tracks about to hit five people. There is a lever you can pull which will cause the trolley to switch tracks and it will kill one person. Do you pull the lever and kill one person or do you do nothing and have five people get killed?

What do you think the answer is as a Buddhist?