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