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