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