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