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