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