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