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