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