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