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