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