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