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