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