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