If a bicycle avoids hitting a pedestrian that is walking?

but in order to do so the bike hits a car and then bounces back onto the pedestrian walking across the road. All three suffer damage or injury (pedestrian cut leg), car scrapped paint and dent and bike damage to itself. who should be the one to blame or to pay
11 answers 11