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