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