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