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