First, the one minute person and the two minute person must cross the bridge, for a total of two minutes. Then the one minute person should come back with flashlight - total of three minutes. The five minute person and the ten minute person cross together next, making the total thirteen minutes. Now the two minute person goes back and (total now fifteen minutes) and gets the one minute person and they cross together bringing the total to seventeen minutes.