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