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