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