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