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