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