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