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