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