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