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