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