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