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