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