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