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