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