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