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