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