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