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