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