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