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