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