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