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