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