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