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