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