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