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