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