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