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