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