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