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