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