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