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