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