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