There are 6 baskets on the table. Each basket has 17, 0, 9, 5, 2 and 16 apples. Olivia chose fifth, Sean chose sixth, Liam chose third, Emma chose first, John chose fourth, and Matt chose second. How many apples did John and Liam choose in total?