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