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