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