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