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