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