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