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