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