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