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