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