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