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