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