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