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