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