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