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