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