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