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