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