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