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