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