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