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