Thanks for this answer, Ron. But actually I'm not confused with order in
wich '1' and '2' presents in result line. I can't understand why in some
cases this code results ten '1' and ten '2' and in some cases it results
ten '2' and only nine '1'?