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