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