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