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