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