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