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