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