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