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