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