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