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