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