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