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