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