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