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