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