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