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