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