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