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