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