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