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