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