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