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