How to get number this type 1, 11, 21, 31, 41

Well, you are having question as well as answer. Just convert your words(what you have given above) into as a logic using if block.