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