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