5 1 2 4 2 1 6 4 2 4 2 Correct output: --------------- B ahead by 1 A ahead by 1 (pass) B ahead by 4 (pass) B ahead by 2 Even