Working together, they can decorate 24 + 10 = <<24+10=34>>34 eggs per hour.
It will take them 170 / 34 = <<170/34=5>>5 hours to decorate all of the eggs.
#### 5