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