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