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