you will be given a line "packaged" according to a certain rule: & nbsp; k [subject] & nbsp; means that it means that it means that it means that Settings & nbsp; sub & nbsp; inside the square brackets, it is repeated exactly & nbsp; k & nbsp; since. The number & nbsp; k & nbsp; it is always a positive integer. Your task & mdash; “unpack” the initial line.
rn
note that the lines can be invested in each other. For example, & nbsp; 3 [a2 [c]] & nbsp; it means that the line & nbsp; a2 [c] & nbsp; repeated 3 times. First you need to unpack the inner part & nbsp; 2 [c] & nbsp; in & nbsp; cc , then substitute it in & nbsp; a ... , getting & nbsp; accc , and and At the end, repeat & nbsp; acc & nbsp; 3 times to get & nbsp; accaccaccacccaccccccaccccccccccacccccccccccaccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc Kid
Input format
One line without gaps containing the lowercase letters of the Latin alphabet, the numbers and square brackets & nbsp; [ & nbsp; and & nbsp; ] . It is guaranteed that the input line is always correct (there are no unclosed brackets, the figure always stands in front of an opening bracket, etc.).
Output format
One line & mdash; The result of complete unpacking.
Hint
There will be no clue here, decide for yourself!