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