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