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