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