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