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