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