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