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