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