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