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