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