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