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