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