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