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