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