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