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