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