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