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