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