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