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