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