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