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