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