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