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