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