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