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