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