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