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