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