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