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