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