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