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