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