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