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