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