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