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