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