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