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