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