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