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