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