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