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