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