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