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