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