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