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