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