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