Bailey gave 2 + 2 = <<2+2=4>>4 bands.

So Bailey had 8 + 4 = <<8+4=12>>12 bands in the beginning.

Justine had 12 + 10 = <<12+10=22>>22 bands in the beginning.

Thus, Ylona had 22 + 2 = <<22+2=24>>24 bands in the beginning.

# Answer

24
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
24
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?
train