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