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