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