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