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