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