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