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