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