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