<human>:  In the beginning, Justine had 10 more rubber bands than Bailey but 2 fewer bands than Ylona. Bailey decided to give two bands each to Justine and Ylona so that he is left with only 8 rubber bands. How many rubber bands did Ylona have in the beginning?
<bot>: How many bands did Bailey give to Justine and Ylona? ** Bailey gave 2 + 2 = <<2+2=4>>4 bands.
How many bands did Bailey have in the beginning? ** So Bailey had 8 + 4 = <<8+4=12>>12 bands in the beginning.
How many bands did Justine have in the beginning? ** Justine had 12 + 10 = <<12+10=22>>22 bands in the beginning.
How many bands did Ylina have in the beginning? ** Thus, Ylona had 22 + 2 = <<22+2=24>>24 bands in the beginning.
#### 24