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