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