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