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