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