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