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