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