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