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