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