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