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