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