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