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