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