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