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