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