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