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