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