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