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