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