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