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