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