Four friends A, B, C & D are on their way back home on a dark night, where they came across a bridge, on which only two people can walk at a time. It’s impossible to walk without a torch; unfortunately they have only one.
A takes 1 minute to cross the bridge, B takes 2 minutes, C takes 5 minutes and D takes 10 minutes.
Find the minimum time taken by them to cross the bridge.