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