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