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