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