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