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