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