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