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