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