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