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