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