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