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