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