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