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