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