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