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