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