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