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