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