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