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