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