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