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