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