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