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