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