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