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