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