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