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