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