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