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