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