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