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