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