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