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