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