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