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