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