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