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