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