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