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