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