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