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