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