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