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