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