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