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