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