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