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