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