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