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