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