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