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