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